<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>CSDN辅助</title>
  <style>
    body {
      background-color: black;
    }

    .box {
      height: 750px;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
    }

    p {
      color: red;
      font-size: 30px;
      font-weight: 600;
      margin: 0;
    }
  </style>
</head>

<body>
  <div class="box">
    <p>object not found</p>
    <div>
      <button onclick="stop()">暂停</button>
      <button onclick="start()">开始</button>
    </div>
    <iframe src="https://blog.csdn.net/qq_45547094/article/details/126309691?spm=1001.2014.3001.5502" width="100%"
      height="600"></iframe>
  </div>
  <script src="./jquery.js"></script>
  <script type="text/javascript">
    // 总链接（替换成你的贴子链接）
    let arr = [
      "https://blog.csdn.net/qq_45547094/article/details/127007019",
      "https://blog.csdn.net/qq_45547094/article/details/126999076",
      "https://blog.csdn.net/qq_45547094/article/details/126972947",
      "https://blog.csdn.net/qq_45547094/article/details/126967006",
      "https://blog.csdn.net/qq_45547094/article/details/126966764",
      "https://blog.csdn.net/qq_45547094/article/details/126961426",
      "https://blog.csdn.net/qq_45547094/article/details/126939662",
      "https://blog.csdn.net/qq_45547094/article/details/126926756",
      "https://blog.csdn.net/qq_45547094/article/details/126886886",
      "https://blog.csdn.net/qq_45547094/article/details/126858617",
      "https://blog.csdn.net/qq_45547094/article/details/126839606",
      "https://blog.csdn.net/qq_45547094/article/details/126830670",
      "https://blog.csdn.net/qq_45547094/article/details/126758278",
      "https://blog.csdn.net/qq_45547094/article/details/126732134",
      "https://blog.csdn.net/qq_45547094/article/details/126731792",
      "https://blog.csdn.net/qq_45547094/article/details/126701272",
      "https://blog.csdn.net/qq_45547094/article/details/126700944",
      "https://blog.csdn.net/qq_45547094/article/details/126700052",
      "https://blog.csdn.net/qq_45547094/article/details/126660172",
      "https://blog.csdn.net/qq_45547094/article/details/126640591",
      "https://blog.csdn.net/qq_45547094/article/details/126640416",
      "https://blog.csdn.net/qq_45547094/article/details/126631498",
      "https://blog.csdn.net/qq_45547094/article/details/126630256",
      "https://blog.csdn.net/qq_45547094/article/details/126625137",
      "https://blog.csdn.net/qq_45547094/article/details/126620428",
      "https://blog.csdn.net/qq_45547094/article/details/126608445",
      "https://blog.csdn.net/qq_45547094/article/details/126606260",
      "https://blog.csdn.net/qq_45547094/article/details/126582409",
      "https://blog.csdn.net/qq_45547094/article/details/126581749",
      "https://blog.csdn.net/qq_45547094/article/details/126540477",
      "https://blog.csdn.net/qq_45547094/article/details/126538025",
      "https://blog.csdn.net/qq_45547094/article/details/126528514",
      "https://blog.csdn.net/qq_45547094/article/details/126502014",
      "https://blog.csdn.net/qq_45547094/article/details/126501880",
      "https://blog.csdn.net/qq_45547094/article/details/126489121",
      "https://blog.csdn.net/qq_45547094/article/details/126480984",
      "https://blog.csdn.net/qq_45547094/article/details/126464644",
      "https://blog.csdn.net/qq_45547094/article/details/126425918",
      "https://blog.csdn.net/qq_45547094/article/details/126423826",
      "https://blog.csdn.net/qq_45547094/article/details/126422382",
      "https://blog.csdn.net/qq_45547094/article/details/126422333",
      "https://blog.csdn.net/qq_45547094/article/details/126412091",
      "https://blog.csdn.net/qq_45547094/article/details/126407452",
      "https://blog.csdn.net/qq_45547094/article/details/126388428",
      "https://blog.csdn.net/qq_45547094/article/details/126379971",
      "https://blog.csdn.net/qq_45547094/article/details/126363466",
      "https://blog.csdn.net/qq_45547094/article/details/126360112",
      "https://blog.csdn.net/qq_45547094/article/details/126359113",
      "https://blog.csdn.net/qq_45547094/article/details/126344284",
      "https://blog.csdn.net/qq_45547094/article/details/126342941",
      "https://blog.csdn.net/qq_45547094/article/details/126340302",
      "https://blog.csdn.net/qq_45547094/article/details/126340236",
      "https://blog.csdn.net/qq_45547094/article/details/126322051",
      "https://blog.csdn.net/qq_45547094/article/details/126310112",
      "https://blog.csdn.net/qq_45547094/article/details/126309923",
      "https://blog.csdn.net/qq_45547094/article/details/126309691",
      "https://blog.csdn.net/qq_45547094/article/details/126309562",
      "https://blog.csdn.net/qq_45547094/article/details/126278818",
      "https://blog.csdn.net/qq_45547094/article/details/126278509",
      "https://blog.csdn.net/qq_45547094/article/details/126278305",
      "https://blog.csdn.net/qq_45547094/article/details/126278116",
      "https://blog.csdn.net/qq_45547094/article/details/126261145",
      "https://blog.csdn.net/qq_45547094/article/details/126260336",
      "https://blog.csdn.net/qq_45547094/article/details/126250027",
      "https://blog.csdn.net/qq_45547094/article/details/126249186",
      "https://blog.csdn.net/qq_45547094/article/details/126248645",
      "https://blog.csdn.net/qq_45547094/article/details/126404698",
    ];
    let i = 0;
    let timer = setInterval(function () {
      $("iframe").attr("src", arr[i]);
      i++;
      if (i === arr.length) {
        i = 0;
      }
      console.log("文章数量:", arr.length);
    }, 1000);
    // 设置1秒的原因是因为csdn的阅读量机制，同一个ip每一分钟才会增加一次阅读量，可以根据你的文章数量进行设置
    // 存在问题：会导致过段时间后在另一个页面的CSDN页面与服务器断开链接显示崩溃（刷新即可），但是此页面不会关
    // 闭阅读量会一直增加，所以没修复（也修复不了，个人水平有限dog）
    function start() {
      location.reload([true]);
    }
    function stop() {
      clearInterval(timer);
    }
  </script>
</body>

</html>